package com.why.zing.payapi.exception;

import com.why.zing.common.exception.BusinessException;
import com.why.zing.common.exception.ExceptionCode;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 支付系统异常类
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AliRefundException extends RuntimeException {

    private String code;
    private String info;

    public AliRefundException(String code, String info) {
        super(info);
        this.code = code;
        this.info = info;
    }
}
